package com.keda.springdata_elasticsearch.page;

import java.util.List;

/**
 * @Description:
 * @Auther: liuyanhui
 * @Date: 2023/02/01/ 09:31
 */
public class Page<T> {
    private Integer totalSize;
    private Integer pageNo;
    private Integer pageSize;
    private T data;

    public Integer getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(Integer totalSize) {
        this.totalSize = totalSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
